<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @property bool $status 状态:0=待处理,1=处理中,2=驳回,3=撤回售后,4=完成
 * @property float $amount 申请金额
 * @property int $account_id 退款账户
 * @property int $express_id 快递平台
 * @property int $id
 * @property int $order_id 订单
 * @property int $user_id 用户
 * @property string $content 内容
 * @property string $createtime
 * @property string $images 图片
 * @property string $mobile 联系电话
 * @property string $order_no 订单编号
 * @property string $reason 驳回原因
 * @property string $reason_text 申请原因
 * @property string $take_text 收货状态
 * @property string $type_text 申请类型
 * @property string $waybill 快递单号
 * @property-read \app\model\GoodsOrder $goods_order
 * @mixin \think\Model
 */
class GoodsOrderService extends Model
{
	protected $createTime = 'createtime';
	protected $updateTime = 'updatetime';
	function goodsOrder()
	{
		return $this->belongsTo(GoodsOrder::class,'order_id');
	}
}
